package gr.handmademarket.ui.pages;

import gr.handmademarket.po.implementations.Product;
import gr.handmademarket.ui.panels.ProductPanel;

import org.apache.wicket.model.IModel;


/**
 * page for displaying details of a product item.
 */
public class ProductDetailsPage 
extends CommonTemplatePage{

	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * the product panel.
	 */
	private ProductPanel productPanel;
	
	/**
	 * Creates a new UploadPage object. 
	 * @param model 
	 *
	 */
	@SuppressWarnings("nls")
	public ProductDetailsPage(IModel<Product> model){
		super();
		productPanel = new ProductPanel("productPanel", model);
		add(productPanel);
	}
	
}
